PDF4Java Reference Documentation
com.o2sol.pdf4java.annotations Package / PDFInkAnnotation Class / setInkColor Method
A com.o2sol.pdf4java.graphics.colors.PDFColor specifying the ink color with which to stroke the annotation paths.
In This Topic
    setInkColor Method
    In This Topic
    Sets the annotation ink color.
    The color must be Gray, RGB or CMYK.
    Syntax
    public void setInkColor( 
       PDFColor inkColor
    )

    Parameters

    inkColor
    A com.o2sol.pdf4java.graphics.colors.PDFColor specifying the ink color with which to stroke the annotation paths.
    Exceptions
    ExceptionDescription
    When the property is set to a color other than Gray, RGB or CMYK.
    See Also